-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
td-layout: support large payload #693
base: main
Are you sure you want to change the base?
td-layout: support large payload #693
Conversation
714ab42
to
25c7cdd
Compare
+----------------------------------------+ <- 0x40000 | ||
| MAILBOX | (0x1000) 4 KB | ||
| MAILBOX | (0x1000) 4 kB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why change KB to kB?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is generated with a third-party crate which changes its size format.
|
||
pub const TD_SHIM_CONFIG_OFFSET: u32 = 0x0; | ||
pub const TD_SHIM_CONFIG_SIZE: u32 = 0x40000; // 256 KB | ||
pub const TD_SHIM_CONFIG_SIZE: u32 = 0x40000; // 256 kB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why change KB to kB?
td-layout/src/build_time.rs
Outdated
|
||
pub const TD_SHIM_PAYLOAD_OFFSET: u32 = 0x82000; | ||
pub const TD_SHIM_PAYLOAD_OFFSET: u32 = 0x81000; | ||
pub const TD_SHIM_PAYLOAD_SIZE: u32 = 0xC2D000; // 12.18 MB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can increase PAYLOAD_SIZE to avoid other changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, please split the "Free Section Removal" change from "Large Payload" change.
Update the `td-layout` with `td-layout-config`. Signed-off-by: Jiaqi Gao <[email protected]>
25c7cdd
to
530cdfc
Compare
Update the
td-layout
withtd-layout-config
.